package quizman;

import org.dsrg.ts.threadLocal.DbRegistry;

import quizman.domain.Quiz;
import quizman.mappers.QuizMapper;

public class ViewQuizTS {
	public static Quiz execute(String quizName) throws Exception
	{
		try
		{
			return QuizMapper.find(quizName);
		}
		finally
		{
			DbRegistry.closeDbConnection();
		}
		
	}
}